package com.Shuang.Demo2;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Student {
    private String name;
    private String[] option;

    public Student() {
    }

    public Student(String name, String[] option) {
        this.name = name;
        this.option = option;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String[] getOption() {
        return option;
    }

    public void setOption(String[] option) {
        this.option = option;
    }

    @Override
    public String toString() {
        return "{" +
                "name='" + name + '\'' +
                ", option=" + Arrays.toString(option) +
                '}';
    }
}
